<template>
  <div class="payComm">
    <div class="wrapper">
      <div class="header clearfix">
        <div class="logo">
          <a href="/">
            <img src="/image/img/logo.5c21b5a.png" height="46">
          </a>
          <span class="title">收银台</span>
        </div>
      </div>

      <div class="payment-box">

        <div class="order-status-box">
          <div class="submit-complete clearfix">
            <div class="order-status">
              <h3 class="prompt">订单已提交，请在<span>24小时</span>内完成付款（逾期自动取消）</h3>
              <div class="details">
                <p><span class="label">商品名称：{{data.shopname}}</span></p>
                <p><span>收货人：{{address&&address[0]&&address[0].user_address_name}}</span><span>{{address&&address[0]&&address[0].user_address_tel}}</span>
                  <span class="label">收货地址：{{address&&address[0]&&address[0].user_address}}</span></p>
              </div>
            </div>
            <div class="amount-code">
              <div class="code"></div>
              <div class="price">应付金额<span>{{data.moeny}} </span>元</div>
            </div>
          </div>
        </div>
        <div class="payment-way">
          <!--余额-->
          <dl class="third-party payment-selected" @click="status = 1">
            <dt id="third_dt"><span class="radiobox" style=" background-position: 0 -79px;" :class="{'radiobox-selected': status == 1}"></span>余额支付：</dt>
            <dd class="clearfix">
              <div class="way-selected">
                <span class="pay-amount" style="" v-if="status == 1">支付<em>{{data.moeny}} </em>元</span></div>
            </dd>
          </dl>
          <!--余额-->
          <!-- 支付密码 -->
          <div class="write-phonenum">
            <input type="tel" maxlength="6" class="realInput" v-model="realInput" @keyup="getNum()" @keydown="delNum()"
              id="focusid">
            <ul class="write-input clearfix">
              <li v-for="(disInput,index) in disInputs" :key="index"><input type="password" maxlength="1" v-model="disInput.value"></li>
            </ul>
          </div>
          <!--银行卡-->
          <div id="operation_div" class="operation  clearfix">
            <a href="javascript:void(0)" target="_blank" id="can_pay_submit" style="display: block;" class="pay-submit-btn"
              @click="lijizhif()">立即支付</a>
            <span id="not_bind_submit" class="pay-submit-btn" style="display:none;">绑定并支付</span>
            <a href="javascript:void(0)" id="can_bind_submit" style="display:none;" class="pay-submit-btn">绑定并支付</a>
            <span class="pay-info" style="display:none;">请核实银行卡信息，如卡号、身份证号、手机号、姓名。</span>
            <span class="select-banks" style="display:none;">请选择银行</span>
            <span id="can_pay_tips" class="tips" style="color:#F60">
              提示：若订单金额大于您的网络支付单笔交易限额，您可以拍下多个订单，并联系商家为您进行拆单处理。
            </span>
          </div>
          <div class="pay-problem">
            <h4>常见支付问题</h4>
            <ol>
              <li>
                <h5>1. 支付金额超过网银支付的单笔限额怎么办?</h5>
                <p>若订单金额大于您的网络支付单笔交易限额，您可以联系商家为您处理。</p>
              </li>
              <li>
                <h5>2. 网上银行/支付宝/微信已扣款有消费记录，但订单上还显示"等待买家付款" ?</h5>
                <p>出现此问题，可能是银行/支付宝/微信的数据没有即时传输至收银台，请您第一时间与客服联系400-180-2011告知订单信息，客服将协助您解决。</p>
              </li>
              <li>
                <h5>3. 不小心多支付了一次，且微信/支付宝都显示扣款两次，怎么办 ?</h5>
                <p>由于您的支付信息银行没有即时传输给微信/支付宝，造成您重复付款。您可以放心，我们会在2个工作日与银行对帐确认您的支付信息，如果查明确为重复支付，会将重复支付的款项原路返还，您也可以致电客服400-180-2011咨询。</p>
              </li>
            </ol>             
          </div>
        </div>
      </div>
    </div>
    <el-dialog  class="d" title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">
     
      <img src="../image/shop.png" width="120" height="120"/>
       <p>可以扫一扫,在手机商城上面付款</p>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
    <Footer></Footer>
  </div>
</template>
<script>
  import Footer from '@/components/footer'
  import * as API from '@/api/index';
  export default {
    name: 'pay',
    data() {
      return {
        status: 1,
        data: localStorage.getItem('paylist') ? JSON.parse(localStorage.getItem('paylist')) : [],
        zhifuma: 0,
        orderid: this.$route.query.id ? this.$route.query.id : '',
        address: [],
        messagepacket: false,
        packets: [],
        disInputs: [{
          value: ''
        }, {
          value: ''
        }, {
          value: ''
        }, {
          value: ''
        }, {
          value: ''
        }, {
          value: ''
        }],
        realInput: '',
        dialogVisible: false
      }
    },
    created() {
      this.site()
    },
    components: {
      Footer
    },
    methods: {
       handleClose(done) {
        this.$confirm('确认关闭？')
          .then(_ => {
            done();
          })
          .catch(_ => {});
      },
      async site() {
        const data = {
          service: 'Pro.Order.GetAddress',
        };
        const res = await API.toIndex(data)
        if (res.ret === 200) {
          this.address = res.data
        }
      },
      async OrderInfo() {
       const reault =   await this.realInput >= 6;
       if(!reault) {
          this.$message.error({
            message: '请输入支付密码'
          });
          return false
       }
        // 余额支付
        const param = {
          service: 'Pro.Pay.GetPay',
          type: 1,
          order_id: this.orderid,
          password: this.realInput
        };
        const res = await API.toIndex(param);
        if (res.ret === 200 && res.data.status == "1000") {
          this.$message({
            message: '恭喜你，支付成功',
            type: 'success'
          });
        } else {
          this.$message.error(res.msg);
          setTimeout(() => {
            this.dialogVisible = true
          },200)
        }
      },
      lijizhif() {
        this.OrderInfo()
      },
      getbackMoney() {
        this.messagepacket = true;
        var idObj = document.getElementById('focusid');
        idObj.focus();
        //点击进来自动获取焦点
      },
      getbackMoneyclock() {
        this.messagepacket = false
      },
      getNum() {
        for (var i = 0; i < this.realInput.length; i++) {
          this.disInputs[i].value = this.realInput.charAt(i)
          // 表示字符串中某个位置的数字，即字符在字符串中的下标。
        }
      },
      delNum() {
        var oEvent = window.event;
        if (oEvent.keyCode == 8) {
          if (this.realInput.length > 0) {
            this.disInputs[this.realInput.length - 1].value = ''
          }
        }
      }
    }
  }

</script>
<style>
  .header {
    margin: 0 auto;
    padding: 30px 0;
    width: 960px!important;
  }

  .logo {
    float: left;
  }

  .logo img {
    display: block;
    float: left;
  }

  .logo span {
    float: left;
    margin: 8px 0 0 8px;
    padding: 0 0 0 10px;
    border-left: 1px solid #e6e6e6;
    font: 14px/44px arial;
    color: #666;
    cursor: pointer;
  }


  .header {
    padding: 18px 0 20px 0;
  }

  .header .title {
    float: left;
    margin: 0 0 0 12px;
    padding: 0 0 0 15px;
    font: 18px/52px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
    border-left: 1px solid #ebebeb;
  }

  .payComm .wrapper {
    margin: 10px auto;
    width: 960px!important;
  }

  .payment-box {
    border: 1px solid #e3e3e3;
  }

  /* ï¿½ï¿½ï¿½ï¿½ï¿½È´ï¿½Ö§ï¿½ï¿½ */
  .order-status-box {
    padding: 5px 40px 5px;
    border-bottom: 1px solid #e3e3e3;
    background: #fafafa;
  }

  .order-status-box .submit-complete {
    padding: 0;
    background: none;
    border: 0 none;
  }

  .order-status {
    padding: 11px 0 0;
    float: left;
    text-align: left;
  }

  .order-status .prompt {
    font: 18px/26px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .order-status .prompt span {
    color: #f33;
  }

  .submit-complete .details {
    padding: 10px 0;
    font: 12px/24px arial;
    color: #666;
    width: 600px
  }

  .submit-complete .details p {
    overflow: hidden;
    zoom: 1
  }

  .submit-complete .details span {
    padding: 0 15px 0 0;
    float: left;
  }

  .submit-complete .details .label {
    width: 335px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
  }

  .submit-complete .details .price {
    font-weight: bold;
    color: #c71010;
    font-family: "Verdana";
  }

  .check-order {
    display: inline-block;
    margin: 17px 0 0;
    padding: 0 14px;
    height: 28px;
    font: 12px/28px "Arial";
    border: 1px solid #ccc;
    background: -moz-linear-gradient(top, #fff, #f5f5f5);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #f5f5f5));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType='0');
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #333;
  }

  .check-order:hover {
    background: -moz-linear-gradient(top, #f5f5f5, #e6e6e6);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), color-stop(1, #e6e6e6));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#e6e6e6', GradientType='0');
    color: #333;
    text-decoration: none;
  }

  .amount-code {
    float: right;
    position: relative;
    zoom: 1;
    padding: 0 101px 0 0;
    height: 105px;
    text-align: right;
  }

  .amount-code .code {
    position: absolute;
    top: 0;
    right: 0;
    width: 83px;
    height: 102px;
    text-align: center;
    cursor: pointer;
  }

  .amount-code .code-tips {
    position: absolute;
    top: -30px;
    right: -41px;
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 24px;
    background-color: #f60;
    color: #fff;
    white-space: nowrap;
  }

  .amount-code .code-tips i {
    position: absolute;
    right: 74px;
    bottom: -10px;
    width: 0;
    height: 0;
    font: 0/0 arial;
    border: 5px dashed transparent;
    border-top: 5px solid #f60;
  }

  .amount-code .code-innder {
    width: 75px;
    height: 94px;
    padding: 4px;
    background-color: #fff;
  }

  .amount-code iframe {
    display: block;
  }

  .amount-code .code .code-name {
    margin: 8px 0 0;
    display: block;
    height: 11px;
    background-position: 0 0;
    font: 0/0 arial;
  }

  .amount-code .code a {
    display: block;
    margin: 6px 0 0;
    padding: 0 0 0 15px;
    font: 12px/18px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    background-position: -56px -10px;
    color: #999;
  }

  .amount-code .code a:hover {
    color: #c00;
    background-position: -55px -26px;
  }

  .amount-code .price {
    padding: 11px 0 10px;
    font: 12px/26px arial;
  }

  .amount-code .price span {
    position: relative;
    top: 2px;
    padding: 0 5px;
    color: #f33;
    font-weight: 700;
    font-size: 18px;
    font-family: "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .order-detail .pack-up,
  .order-detail .pack-down {
    display: inline-block;
    padding: 0 10px 0 0;
    color: #134ba0;
    background-position: 100% -281px;
  }

  .order-detail .pack-down {
    background-position: 100% -306px;
  }

  .order-detail .pack-up:hover,
  .order-detail .pack-down:hover {
    color: #c00;
    cursor: pointer;
  }

  .order-detail a {
    color: #666;
  }

  .order-detail a:hover {
    color: #c00;
  }

  .order-detail .goods-name {
    position: relative;
    padding: 0 0 0 60px;
    font: 12px/24px arial;
  }

  .order-detail .goods-name .label {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
  }

  .order-detail .hide-goods-name .goods-more {
    display: none;
  }

  .payment-way {
    padding: 20px 20px;
  }

  .payment-way dl {
    position: relative;
    padding: 16px 18px 16px 193px;
    min-height: 43px;
    zoom: 1;
    border: 2px solid #fff;
  }

  .payment-way dt {
    position: absolute;
    top: 15px;
    left: 18px;
    padding: 0 0 0 40px;
    width: 128px;
    font: 16px/34px "Microsoft YaHei", arial;
  }

  .payment-way dd {
    line-height: 43px;
  }

  .payment-way .radiobox,
  .payment-way .radiobox-selected {
    position: absolute;
    top: 7px;
    left: 0;
    width: 22px;
    height: 22px;
    font: 0/0 arial;
    cursor: pointer;
    background: url('../image/下载.png') no-repeat;
  }



  .payment-way .radiobox-selected {
    background-position: 0 -50px !important;
  }

  .payment-way dd img {
    border: 1px solid #fff;
    vertical-align: middle;
  }

  .payment-way dd a:hover img {
    border: 1px solid #fff;
  }

  .way-selected {
    float: left;
    position: relative;
    zoom: 1;
    margin: 0 20px 0 0;
  }

  .payment-way .way-selected img {
    float: left;
    margin: 0;
  }

  .payment-way .way-selected img,
  .payment-way .way-selected a:hover img {
    border: 1px solid #eee;
  }

  .payment-way .way-selected .tips {
    float: left;
    font: 12px/39px arial;
    color: #666;
  }

  .pay-amount {
    position: relative;
    top: -4px;
    float: right;
    padding: 0 0 0 20px;
    height: 43px;
    font: 12px/43px arial;
  }

  .pay-amount em {
    position: relative;
    top: 2px;
    padding: 0 5px;
    color: #f33;
    font-size: 18px;
    font-weight: 700;
    font-family: Verdana, "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .back-btn {
    float: left;
  }

  .payment-way .third-party {
    z-index: 1;
    padding: 10px 18px 11px 193px;
    border-bottom: 1px solid #ededed;
  }

  .third-party .way-selected {
    float: none;
    margin: 0;
    width: auto;
    height: 43px;
    border: 0 none;
  }

  .payment-way .third-party .way-selected a {
    float: left;
    padding: 1px;
    margin: 0 18px 0 0;
  }

  .payment-way .third-party .way-selected img {
    border: 1px solid #eee;
  }

  .payment-way .third-party .way-selected a:hover img,
  .payment-way .third-party .way-selected .current img {
    border: 1px solid #eee;
  }

  .payment-way .third-party .tips {
    font: 12px/43px arial;
    color: #f60;
  }

  /* Î¢ï¿½ï¿½Ö§ï¿½ï¿½ */
  .weixin-payment {
    position: relative;
    left: -135px;
    padding: 10px 0;
    width: 800px;
  }

  .weixin-qrcode {
    float: left;
    margin: 10px 0 0 38px;
    width: 285px;
    text-align: center;
  }

  .weixin-qrcode .qrcode {
    margin: 0 0 15px;
    width: 285px;
    height: 285px;
    background: #fafafa;
  }

  .weixin-qrcode .qrcode .loading {
    font: 14px/285px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
  }

  .weixin-qrcode .qrcode .loading img {
    margin: 0 5px 0 0;
  }

  .weixin-qrcode img {
    vertical-align: middle;
  }

  .weixin-payment .prompt-img {
    float: left;
    padding: 0 0 0 114px;
  }

  .weixin-payment .prompt-img img {
    vertical-align: middle;
  }

  .weixin-payment .other-payment {
    font: 14px/22px SimSun;
    color: #06b;
  }

  .weixin-payment .other-payment a {
    margin: 0 0 0 3px;
    font-family: "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .weixin-payment .load-fail {
    font: 14px/285px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
  }

  .weixin-payment .load-fail .icon-point {
    position: image;
    display: inline-block;
    margin: 0 5px 0 0;
    color: #b3b3b3;
  }

  .weixin-payment .load-fail a {
    color: #06b;
    text-decoration: underline;
  }

  .weixin-payment .load-fail a:hover,
  .weixin-payment .prompt a:hover {
    color: #c00;
  }

  .weixin-payment .prompt {
    font: 14px/24px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #c00;
  }

  .weixin-payment .prompt .icon-point {
    position: image;
    display: inline-block;
    margin: 0 5px 0 0;
  }

  .weixin-payment .prompt a {
    margin: 0 0 0 5px;
    color: #06b;
    text-decoration: underline;
  }

  .drop-down-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 39px;
    height: 39px;
    background-position: 0 -108px;
    font: 0/0 arial;
    cursor: pointer;
  }

  .options {
    display: none;
    position: absolute;
    top: 39px;
    left: -2px;
    width: 417px;
    border: 2px solid #ffd6d6;
    border-top: 0 none;
    background: #fff;
  }

  .options li {
    border-top: 1px solid #ffd6d6;
    cursor: pointer;
  }

  .options li.hover,
  .options li:hover {
    background-position: 100% -228px;
  }

  .way-selected-hover .options {
    display: block;
  }

  .way-selected-hover .drop-down-btn {
    background-position: 0 -148px;
  }

  .way-selected-current .drop-down-btn {
    background-position: 0 -188px;
  }

  .tab-bar {
    border-bottom: 1px solid #e6e6e6;
  }

  .tab-bar li {
    float: left;
    margin: 0 5px 0 0;
    padding: 1px 20px 0;
    font: 18px/38px "Microsoft YaHei", arial;
    cursor: pointer;
  }

  .tab-bar li:hover {
    position: relative;
    margin: 0 5px -1px 0;
    padding: 0 19px;
    border: 1px solid #e6e6e6;
    background-color: #fafafa;
  }

  .tab-bar .current,
  .tab-bar .current:hover {
    position: relative;
    margin: 0 5px -1px 0;
    padding: 1px 20px 0;
    border: 1px solid #e6e6e6;
    border-bottom: 0 none;
    background: #fff;
  }

  /* 20160415æ²ˆå½¬æ”¹-start */
  .payment-way .bank-list {
    padding: 10px 0 0;
  }

  /* .payment-way .bank-list a{ float:left; background:url(images/bankcard-bg.png?temp=1) no-repeat; margin:10px; display: block; position: relative; width:138px; height: 38px; border:1px solid #eee;} */
  .payment-way .bank-list .gongshang {
    background-position: -1px -360px;
  }

  .payment-way .bank-list .nongye {
    background-position: -1px -520px;
  }

  .payment-way .bank-list .zhaoshang {
    background-position: -1px -640px;
  }

  .payment-way .bank-list .jianshe {
    background-position: -1px -401px;
  }

  .payment-way .bank-list .xingye {
    background-position: -1px -320px;
  }

  .payment-way .bank-list .zhongguo {
    background-position: -1px -560px;
  }

  .payment-way .bank-list .sh-nongshang {
    background-position: -1px -240px;
  }

  .payment-way .bank-list .jiaotong {
    background-position: -1px -440px;
  }

  .payment-way .bank-list .minsheng {
    background-position: -1px -481px;
  }

  .payment-way .bank-list .youzheng {
    background-position: -1px -600px;
  }

  .payment-way .bank-list .beijing {
    background-position: -1px -40px;
  }

  .payment-way .bank-list .bg-nongshang {
    background-position: -1px -1px;
  }

  .payment-way .bank-list .hangzhou {
    background-position: -1px -680px;
  }

  .payment-way .bank-list .ningbo {
    background-position: -1px -120px;
  }

  .payment-way .bank-list .shanghai {
    background-position: -1px -280px;
  }

  .payment-way .bank-list .pingan {
    background-position: -1px -200px;
  }

  .payment-way .bank-list .gd-fazhan {
    background-position: -1px -80px;
  }

  .payment-way .bank-list .sh-pudongfazhan {
    background-position: -1px -160px;
  }

  .payment-way .bank-list .guangda {
    background-position: -1px -720px;
  }

  .payment-way .bank-list .guangfa {
    background-position: -1px -760px;
  }

  .payment-way .bank-list .zhongxin {
    background-position: -1px -800px;
  }

  .payment-way .bank-list .huaxia {
    background-position: -1px -840px;
  }

  .payment-way .bank-list .sz-fazhan {
    background-position: -1px -880px;
  }

  .payment-way .bank-list .dongya {
    background-position: -1px -919px;
  }

  .payment-way .bank-list .huishang {
    background-position: -1px -959px;
  }

  .payment-way .bank-list .tianjing {
    background-position: -1px -998px;
  }

  .payment-way .bank-list .bohai {
    background-position: -1px -1038px;
  }

  .payment-way .bank-list .zheshang {
    background-position: -1px -1078px;
  }

  .payment-way .bank-list .nanjing {
    background-position: -1px -1118px;
  }

  /* .payment-way .bank-list a:hover,.payment-way .bank-list .current {border:2px solid #f60; margin:9px;} */

  /* 20160415æ²ˆå½¬æ”¹-end */

  .operation {
    padding: 20px 0 0 20px;
  }

  .pay-submit-btn {
    float: left;
    width: 162px;
    height: 44px;
    background: #c00;
    border: 0 none;
    font: 20px/44px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #fff;
    text-align: center;
    cursor: pointer;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
  }

  .pay-submit-btn:hover {
    background: #b90000;
    text-decoration: none;
    color: #fff;
  }

  span.pay-submit-btn,
  span.pay-submit-btn:hover {
    background: #dcdcdc;
    cursor: default;
  }

  .code-pay-layer {
    margin: -200px 0 0 -350px;
  }

  .code-pay-layer .layer-box-body {
    width: 695px;
  }

  .qrcode-tips {
    text-align: center;
    font: 20px/26px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    height: 300px;
  }

  .qrcode-tips img {
    position: relative;
    top: 5px;
    margin: 0 10px 0 0;
    display: inline-block;
    border: 0 none;
  }

  .payment-way .no-select-border {
    border-bottom-color: #ededed;
  }

  .payment-way .payment-selected {
    z-index: 3;
    padding: 10px 18px 10px 193px;
    border-color: #ededed;
    border-bottom: 2px solid #ededed;
  }

  .payment-way .bank-box {
    position: relative;
    left: -135px;
    width: 800px;
    padding: 6px 0 0;
  }

  /* ï¿½ï¿½ï¿½ï¿½È·ï¿½ï¿½ï¿½ï¿½Ê¾ï¿½ï¿½ */
  .layer-box {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -103px 0 0 -180px;
    padding: 5px;
    _position: absolute;
    background: rgba(0, 0, 0, 0.3);
    filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#4d000000, endcolorstr=#4d000000, gradientType=1);
    z-index: 1001;
  }

  :root .layer-box {
    filter: none;
  }

  .layer-box-body {
    width: 350px;
    background: #fff;
  }

  .layer-box-head {
    position: relative;
    zoom: 1;
    padding: 8px 10px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
  }

  .layer-box-head h3 {
    height: 22px;
    overflow: hidden;
    font: 16px/22px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .layer-box-head .close:hover {
    background-position: 0 -23px;
  }

  .layer-box-content {
    padding: 15px;
  }

  .layer-box-content h3 {
    font: 14px/24px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #666;
  }

  .layer-box-content p {
    padding: 10px 0 0;
    font: 14px/22px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #666;
  }

  .layer-box-body .btn-bar {
    padding: 17px 0 0;
  }

  .layer-box-body .btn-bar a {
    float: left;
    margin: 0 10px 0 0;
    font: 14px/36px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .layer-box-body .btn-bar .btn {
    float: left;
    width: 100px;
    height: 28px;
    font: 14px/28px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    text-align: center;
    border: 1px solid #ccc;
    background: -moz-linear-gradient(top, #fff, #f5f5f5);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #f5f5f5));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType='0');
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #333;
  }

  .layer-box-body .btn-bar .btn:hover {
    background: -moz-linear-gradient(top, #f5f5f5, #e6e6e6);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), color-stop(1, #e6e6e6));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#e6e6e6', GradientType='0');
    color: #333;
    text-decoration: none;
  }

  /* Ö§ï¿½ï¿½ï¿½É¹ï¿½ */
  .pay-success {
    border: 1px solid #e3e3e3;
    padding: 40px 0;
  }

  .pay-success-inner {
    float: left;
    padding: 0 0 0 135px;
    width: 523px;
  }

  .pay-success-inner h3 {
    position: relative;
    padding: 0 0 13px;
    font: 24px/37px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .pay-success-inner p {
    font: 14px/30px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
  }

  .pay-success-inner p span {
    color: #333;
  }

  .pay-success-inner p a {
    margin: 0 5px;
  }

  .pay-success .download {
    float: left;
    padding: 0 0 0 80px;
    border-left: 1px dotted #e6e6e6;
  }

  .pay-success .qr-code {
    margin: 0 0 0 10px;
  }

  .pay-success .qr-code img {
    display: block;
  }

  .pay-success .download p {
    padding: 10px 0 0;
    font: 14px/22px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
  }



  .banner img {
    display: block;
  }

  .warning-prompt {
    border: 1px solid #e3e3e3;
    padding: 40px;
  }

  .warning-prompt h3 {
    margin: 7px 0 16px;
    padding: 0 0 0 52px;
    font: 28px/37px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
  }

  .warning-prompt p {
    font: 14px/30px "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1";
    color: #999;
  }

  .warning-prompt p a {
    margin: 0 5px;
  }

  .payment-way .third-party .way-selected img {
    border: 1px solid #eee;
  }

  .payment-way .third-party .way-selected .selected img {
    border-color: #f33;
  }

  .payment-way .third-party .way-selected a:hover img {
    border-color: #f33;
  }


  /**å¸¸è§é—®é¢˜**/
  .pay-problem {
    text-align: left;
    border-top: 1px solid #e3e3e3;
    padding-left: 20px;
    font-size: 12px;
    font-family: "microsoft yahei" !important;
  }

  .pay-problem h4 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 16px 0;
    font-weight: normal;
  }

  .pay-problem li h5 {
    font-size: 14px;
    color: #666;
    margin-bottom: 1px;
    font-weight: normal;
  }

  .pay-problem li p {
    color: #999;
    margin-bottom: 16px;
  }

  .pay-problem .more a {
    color: #36c;
  }

  .pay-problem .more a:hover {
    color: #c00;
    text-decoration: underline;
  }

  /*ä»˜æ¬¾ç¡®è®¤å¼¹æ¡†**/

  .confirm-box h4 {
    font-size: 22px;
    color: #333;
    margin-top: 47px;
  }

  .confirm-box p {
    font-size: 14px;
    color: #666;
    margin: 12px 0 20px 0;
  }

  .confirm-box .two-link {
    margin-bottom: 12px;
  }

  .confirm-box .two-link a {
    float: left;
    width: 108px;
    height: 36px;
    border: 1px solid #dedfe0;
    text-align: center;
    line-height: 36px;
    font-size: 14px;
    color: #333;
    margin-right: 20px;
  }

  .confirm-box .two-link a:hover {
    background: #f6f6f6;
  }

  .confirm-box .other {
    color: #36c;
  }



  /* 2016-8-13æ–°åŠ æ ·å¼ */
  .bank-hint {
    color: #c51511;
    height: auto;
    margin-left: 10px;
    font-size: 12px;
    font-family: 'Microsoft YaHei';
  }

  .payment-way .bank-list a.more-bank {
    float: left;
    margin: 3px;
    display: block;
    position: relative;
    width: 138px;
    height: 38px;
    border: 1px solid #ce1a1b;
    color: #ce1a1b;
    font-size: 16px;
    text-align: center;
    line-height: 38px;
    font-family: 'Microsoft YaHei';
    text-decoration: none;
    margin-right: 10px;
    margin-left: 10px;
  }

  .select-banks {
    display: block;
    float: left;
    width: 70px;
    height: 44px;
    color: #0070ee;
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    line-height: 44px;
    margin-left: 13px;
    cursor: pointer;
  }

  /* .bank-index {
	width: 138px;
	height: 50px;
	border: 1px solid #e54c4c;
	position: relative;
	margin: 5px;
	float: left;
} */
  .bank-index {
    width: 138px;
    height: 50px;
    border: 1px solid #fff;
    position: relative;
    margin: 3px;
    margin-right: 10px;
    margin-left: 10px;
    float: left;
    cursor: pointer;
  }

  .bank-index:hover {
    border: block;
    width: 138px;
    height: 50px;
    border: 1px solid #e54c4c;
    position: relative;
    margin: 3px;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
  }

  .a1 {
    border: block;
    width: 138px;
    height: 50px;
    border: 1px solid #e54c4c;
    position: relative;
    margin: 3px;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
  }

  .bank-index .index-text {
    display: none;
    width: 138px;
    height: 17px;
    background: #e54c4c;
    clear: both;
    overflow: hidden;
    text-align: center;
    line-height: 17px;
    color: #fff;
    font-family: 'Microsoft YaHei';
    position: relative;
    top: -6px;
  }

  .bank-index:hover .index-text {
    display: block;
    width: 138px;
    height: 17px;
    background: #e54c4c;
    clear: both;
    overflow: hidden;
    text-align: center;
    line-height: 17px;
    color: #fff;
    font-family: 'Microsoft YaHei';
    position: relative;
    top: -6px;
  }

  .b1 {
    display: block;
    width: 138px;
    height: 17px;
    background: #e54c4c;
    clear: both;
    overflow: hidden;
    text-align: center;
    line-height: 17px;
    color: #fff;
    font-family: 'Microsoft YaHei';
    position: relative;
    top: -6px;
  }

  .payment-way .bank-list a {

    display: block;
    position: relative;
    width: 136px;
    height: 38px;
    border: 1px solid #eee;
  }

  .current {}

  .radioname-info {
    font-size: 12px;
    color: #F60;
  }

  .operation .tips {
    float: left;
    display: block;
    height: 30px;
    border: 1px solid #ffcc7d;
    width: 850px;
    line-height: 30px;
    color: #979696;
    padding-left: 26px;
    margin: 10px 0 24px 0;
    text-align: left;
    background: url(../image/mark.png) no-repeat 10px center #fffdea;
  }

  .pay_pwd {
    width: 235px;
    height: 40px;
    margin: 15px 0;
  }

  .pay_pwd_input {
    width: 100%;
    height: 100%;
    position: relative;

  }

  .pay_pwd_input input {
    width: 100%;
    height: 100%;
  }

  .phonenum-show {
    padding: 10px;
    background: #fff;
  }

  .getback-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #dddddd;
    position: relative;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .getback-title span {
    position: absolute;
    right: 0;
    top: 3px;
    width: 15px;
    height: 15px;
    display: inline-block;
  }

  .write-phonenum p {
    text-align: center;
    font-size: 12px;
  }

  .write-phonenum p span {
    color: #3b90d1;
  }

  .write-input {
    border: 1px solid #888888;
    width: 186px;
    margin: 15px 0;
  }

  .write-input li {
    float: left;
    width: 30px;
    height: 30px;
    border-right: 1px solid #ddd;
  }

  .write-input li input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    resize: none;
    outline: none;
    border: 0;
    width: 30px;
    line-height: 30px;
    text-align: center;
    height: 30px;
    font-size: 16px;
  }

  .write-input li:last-child {
    border-right: none;
  }

  .write-phonenum .mint-button--default {
    background: #3b90d1;
    color: #fff;
    font-family: "微软雅黑";
    font-size: 14px;
    width: 80%;
    margin: 10px auto;
  }

  .realInput {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    resize: none;
    outline: none;
    border: 0;
    z-index: 1;
    position: absolute;
    width: 186px;
    height: 32px;
    line-height: 32px;
    background: none;
    display: block;
    left: 0;
    top: 0;
    opacity: 0;
    font-size: 0px;
    caret-color: #fff;
    color: #000;

  }

  .write-phonenum {
    position: relative;
  }

  /*影藏input标签*/
  input[type="tel"i]:disabled {
    background-color: #fff;
  }

</style>
